Carbon will support most of the accessor functions for low-memory variables. However, you should always avoid using low-memory accessors if there are direct Mac OS Toolbox calls to obtain the same information. For example:
* Use the function TickCount instead of the low-memory accessor function LMGetTicks.
* Use the function FrontWindow instead of the low-memory accessor function LMGetWindowList, when possible.
* Use the function PBGetFCBInfo instead of walking the FCB table with the low-memory accessor function LMGetFCBSPtr.
In general, don't think of the values returned by low-memory accessor routines as residing in low memory--think of them as information, possibly associated with a specific Toolbox manager, that is returned by the Mac OS. In the future, Apple may supply new functions, distributed among the Mac OS Toolbox managers, for retrieving this information.
Some low-memory accessor functions are likely to become obsolete in Mac OS X. The following Resource Manager-related functions will not be supported:
* LMGetTopMapHndl and LMSetTopMapHndl
* LMGetSysMapHndl and LMSetSysMapHndl
* LMGetCurMapHndl and LMSetCurMapHndl
LMGetABusDCE
LMGetABusGlobals
LMGetACount
LMGetANumber
LMGetApFontID
LMGetApplLimit
LMGetApplScratch
LMGetApplZone
LMGetAppParmHandle
LMGetATalkHk2
LMGetAtMenuBottom
This function will be replaced by a new menu tracking API.
LMGetAuxWinHead
LMGetBootDrive
LMGetBufPtr
LMGetBufTgDate
LMGetBufTgFBkNum
LMGetBufTgFFlg
LMGetBufTgFNum
LMGetCaretTime
LMGetCPUFlag
LMGetCrsrBusy
LMGetCrsrThresh
LMGetCurActivate
LMGetCurApName
LMGetCurApRefNum
LMGetCurDeactive
LMGetCurDirStore
LMGetCurJTOffset
LMGetCurMap
Functions that access the resource map will not be supported.
LMGetCurPageOption
LMGetCurPitch
LMGetCurrentA5
LMGetCursorNew
LMGetCurStackBase
LMGetDABeeper
LMGetDAStrings
LMGetDefltStack
LMGetDefVCBPtr
LMGetDeskCPat
LMGetDeskHook
LMGetDeskPattern
LMGetDeviceList
LMGetDiskFormatingHFSDefaults
LMGetDlgFont
LMGetDoubleTime
LMGetDragHook
LMGetDragPattern
LMGetDrvQHdr
LMGetDSAlertRect
LMGetDSAlertTab
LMGetDSErrCode
LMGetDTQueue
LMGetEventQueue
LMGetExtStsDT
LMGetFCBSPtr
LMGetFinderName
LMGetFractEnable
LMGetFScaleDisable
LMGetFSFCBLen
LMGetFSQHdr
LMGetGhostWindow
LMGetGNEFilter
LMGetGrayRgn
LMGetGZMoveHnd
LMGetGZRootHnd
LMGetHeapEnd
LMGetHighHeapMark
LMGetHiliteMode
LMGetHiliteRGB
LMGetHWCfgFlags
LMGetIntlSpec
LMGetJDTInstall
LMGetJFetch
LMGetJIODone
LMGetJournalRef
LMGetJStash
LMGetJVBLTask
LMGetKbdLast
LMGetKbdType
LMGetKeyRepThresh
LMGetKeyThresh
LMGetKeyTime
LMGetLastFOND
LMGetLastSPExtra
LMGetLo3Bytes
LMGetLvl2DT
LMGetMainDevice
LMGetMBarEnable
Originally used to support desk accessories. Now obsolete.
LMGetMBarHeight
Use GetMBarHeight instead. If you are using this function to hide the menu bar, use Hide/ShowMenuBar instead.
LMGetMBarHook
LMGetMBTicks
LMGetMemErr
LMGetMemTop
LMGetMenuCInfo
Obsolete.
LMGetMenuDisable
LMGetMenuFlash
LMGetMenuHook
LMGetMenuList
LMGetMinStack
LMGetMinusOne
LMGetMMU32Bit
LMGetMouseButtonState
LMGetMouseLocation
LMGetMouseTemp
LMGetOldContent
LMGetOldStructure
LMGetOneOne
LMGetPaintWhite
LMGetPortAInfo
LMGetPortBUse
LMGetPrintErr
LMGetQDColors
LMGetRAMBase
LMGetRawMouseLocation
LMGetResErr
LMGetResErrProc
LMGetResLoad
LMGetResumeProc
LMGetRndSeed
LMGetROM85
LMGetROMBase
LMGetROMFont0
LMGetROMMapHandle
LMGetROMMapInsert
LMGetSaveUpdate
LMGetSaveVisRgn
LMGetSCCRd
LMGetSCCWr
LMGetScrapCount
LMGetScrapHandle
LMGetScrapName
LMGetScrapSize
LMGetScrapState
LMGetScratch20
LMGetScrDmpEnb
LMGetScrHRes
LMGetScrnBase
LMGetScrVRes
LMGetSdVolume
LMGetSEvtEnb
LMGetSFSaveDisk
LMGetSoundBase
LMGetSoundLevel
LMGetSoundPtr
LMGetSPAlarm
LMGetSPATalkA
LMGetSPATalkB
LMGetSPClikCaret
LMGetSPConfig
LMGetSPFont
LMGetSPKbd
LMGetSPMisc2
LMGetSPPortA
LMGetSPPortB
LMGetSPPrint
LMGetSPValid
LMGetSPVolCtl
LMGetStackLowPoint
LMGetSynListHandle
LMGetSysEvtMask
LMGetSysFontFam
LMGetSysFontSize
LMGetSysMap
LMGetSysMapHndl
Functions that access the resource map will not be supported.
LMGetSysResName
LMGetSysZone
LMGetTEDoText
LMGetTERecal
LMGetTEScrpHandle
LMGetTEScrpLength
LMGetTESysJust
LMGetTheCursor
LMGetTheGDevice
LMGetTheMenu
LMGetTheZone
LMGetTicks
LMGetTime
LMGetTimeDBRA
LMGetTimeSCCDB
LMGetTimeSCSIDB
LMGetTmpResLoad
LMGetToExtFS
LMGetToolScratch
LMGetTopMapHndl
Functions that access the resource map will not be supported.
LMGetTopMenuItem
LMGetUnitTableEntryCount
LMGetUTableBase
LMGetVBLQueue
LMGetVCBQHdr
LMGetVIA
LMGetWidthListHand
LMGetWidthPtr
LMGetWidthTabHandle
LMGetWindowList
LMGetWMgrPort
LMGetWordRedraw
LMSetABusDCE
LMSetABusGlobals
LMSetACount
LMSetANumber
LMSetApFontID
LMSetApplLimit
LMSetApplScratch
LMSetApplZone
LMSetAppParmHandle
LMSetATalkHk2
LMSetAtMenuBottom
LMSetAuxWinHead
LMSetBootDrive
LMSetBufPtr
LMSetBufTgDate
LMSetBufTgFBkNum
LMSetBufTgFFlg
LMSetBufTgFNum
LMSetCaretTime
LMSetCPUFlag
LMSetCrsrBusy
LMSetCrsrThresh
LMSetCurActivate
LMSetCurApName
LMSetCurApRefNum
LMSetCurDeactive
LMSetCurDirStore
LMSetCurJTOffset
LMSetCurMap
Functions that access the resource map will not be supported.
LMSetCurPageOption
LMSetCurPitch
LMSetCurrentA5
LMSetCursorNew
LMSetCurStackBase
LMSetDABeeper
LMSetDAStrings
LMSetDefltStack
LMSetDefVCBPtr
LMSetDeskCPat
LMSetDeskHook
LMSetDeskPattern
LMSetDeviceList
LMSetDiskFormatingHFSDefaults
LMSetDlgFont
LMSetDoubleTime
LMSetDragHook
LMSetDragPattern
LMSetDrvQHdr
LMSetDSAlertRect
LMSetDSAlertTab
LMSetDSErrCode
LMSetDTQueue
LMSetEventQueue
LMSetExtStsDT
LMSetFCBSPtr
LMSetFinderName
LMSetFractEnable
LMSetFScaleDisable
LMSetFSFCBLen
LMSetGhostWindow
LMSetGNEFilter
LMSetGrayRgn
LMSetGZMoveHnd
LMSetGZRootHnd
LMSetHeapEnd
LMSetHighHeapMark
LMSetHiliteMode
LMSetHiliteRGB
LMSetHWCfgFlags
LMSetIntlSpec
LMSetJDTInstall
LMSetJFetch
LMSetJIODone
LMSetJournalRef
LMSetJStash
LMSetJVBLTask
LMSetKbdLast
LMSetKbdType
LMSetKeyRepThresh
LMSetKeyThresh
LMSetKeyTime
LMSetLastFOND
LMSetLastSPExtra
LMSetLo3Bytes
LMSetLvl2DT
LMSetMainDevice
LMSetMBarEnable
LMSetMBarHeight
LMSetMBarHook
LMSetMBTicks
LMSetMemErr
LMSetMemTop
LMSetMenuCInfo
LMSetMenuDisable
LMSetMenuFlash
LMSetMenuHook
LMSetMenuList
LMSetMinStack
LMSetMinusOne
LMSetMMU32Bit
LMSetMouseButtonState
LMSetMouseLocation
LMSetMouseTemp
LMSetOldContent
LMSetOldStructure
LMSetOneOne
LMSetPaintWhite
LMSetPortAInfo
LMSetPortBUse
LMSetPrintErr
LMSetQDColors
LMSetRAMBase
LMSetRawMouseLocation
LMSetResErr
LMSetResErrProc
LMSetResLoad
LMSetResumeProc
LMSetRndSeed
LMSetROM85
LMSetROMBase
LMSetROMFont0
LMSetROMMapHandle
LMSetROMMapInsert
LMSetSaveUpdate
LMSetSaveVisRgn
LMSetSCCRd
LMSetSCCWr
LMSetScrapCount
LMSetScrapHandle
LMSetScrapName
LMSetScrapSize
LMSetScrapState
LMSetScratch20
LMSetScrDmpEnb
LMSetScrHRes
LMSetScrnBase
LMSetScrVRes
LMSetSdVolume
LMSetSEvtEnb
LMSetSFSaveDisk
LMSetSoundBase
LMSetSoundLevel
LMSetSoundPtr
LMSetSPAlarm
LMSetSPATalkA
LMSetSPATalkB
LMSetSPClikCaret
LMSetSPConfig
LMSetSPFont
LMSetSPKbd
LMSetSPMisc2
LMSetSPPortA
LMSetSPPortB
LMSetSPPrint
LMSetSPValid
LMSetSPVolCtl
LMSetStackLowPoint
LMSetSynListHandle
LMSetSysEvtMask
LMSetSysFontFam
LMSetSysFontSize
LMSetSysMap
LMSetSysMapHndl
Functions that access the resource map will not be supported.
LMSetSysResName
LMSetSysZone
LMSetTEDoText
LMSetTERecal
LMSetTEScrpHandle
LMSetTEScrpLength
LMSetTESysJust
LMSetTheCursor
LMSetTheGDevice
LMSetTheMenu
LMSetTheZone
LMSetTicks
LMSetTime
LMSetTimeDBRA
LMSetTimeSCCDB
LMSetTimeSCSIDB
LMSetTmpResLoad
LMSetToExtFS
LMSetToolScratch
LMSetTopMapHndl
Functions that access the resource map will not be supported.
LMSetTopMenuItem
LMSetUnitTableEntryCount
LMSetUTableBase
LMSetVBLQueue
LMSetVCBQHdr
LMSetVIA
LMSetWidthListHand
LMSetWidthPtr
LMSetWidthTabHandle
LMSetWindowList
LMSetWMgrPort
LMSetWordRedraw